Pop

data class Pop(val to: <Error class: unknown class>? = null, val animated: Boolean = true, val completion: () -> Unit? = null) : NavigationSpec

Pops the viewController on the parents UINavigationController.

Parameters

to

Optional UIViewController to pop to. If not provided the viewcontroller on top is popped.

animated

Specifies whether transition should be animated

completion

Optional function to call when pop has completed

Constructors

Link copied to clipboard
constructor(to: <Error class: unknown class>? = null, animated: Boolean = true, completion: () -> Unit? = null)

Properties

Link copied to clipboard
val animated: Boolean = true
Link copied to clipboard
val completion: () -> Unit? = null
Link copied to clipboard
val to: <Error class: unknown class>? = null